/**
 * Project Name:dashboardservice
 * File Name:SimModemData.java
 * Package Name:com.tvunetworks.report.po
 * Date:2017-1-4下午6:01:04
 * Copright (c) 2017,arlen@tvunetworks.com
 */  
 
package com.tvunetworks.report.po;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import com.tvunetworks.center.common.model.t.Slot;

/**
 * ClassName:SimModemData
 * 
 * @author Arlen
 *
 * date:2017-1-4下午6:01:04<br/>
 */
public class SimModemData implements Serializable{
	
	private static final long serialVersionUID = -2207209039172765089L;
	
	private String peerId;
	private List<Slot> slotInfo = new ArrayList<Slot>();

	private long lastSeenTime;
	private int totalModem;
	private int isOnline;

	public String getPeerId() {
		return peerId;
	}
	public void setPeerId(String peerId) {
		this.peerId = peerId;
	}
	public List<Slot> getSlotInfo() {
		return slotInfo;
	}
	public void setSlotInfo(List<Slot> slotInfo) {
		this.slotInfo = slotInfo;
	}
	public long getLastSeenTime() {
		return lastSeenTime;
	}
	public void setLastSeenTime(long lastSeenTime) {
		this.lastSeenTime = lastSeenTime;
	}

	/**
	 *
	 * @return int
	 */
	public int getTotalModem() {
		totalModem = slotInfo.size();
		return totalModem;
	}
	public int getIsOnline() {
		return isOnline;
	}
	public void setIsOnline(int isOnline) {
		this.isOnline = isOnline;
	}
}
  